<div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
        <h3 id="myModalLabel">Solicitar Recarga</h3>
    </div>
    <div class="modal-body">
        <div class="row-fluid">
            <div class="span12">
                <div class="block">

                    <div class="data-fluid">
                        <?php echo $this->Form->create('Pedido', array('action' => 'solicita')); ?>
                        <div class="row-form">
                            <div class="span3">Monto solicitado:</div>
                            <div class="span9"><?php echo $this->Form->text('monto_solicitado', array('placeholder' => '0.00', 'required')); ?></div>
                        </div>

                        <div class="row-form">
                            <div class="span3">Porcentaje:</div>
                            <div class="span9">
                                <select name="data[Pedido][porcentaje_id]" required>
                                    <option>Elige...</option>                                                    
                                    <?php foreach ($dcp as $p): ?>
                                        <?php $montoHumano = $p['Porcentaje']['monto'] * 100; ?>
                                        <option value="<?php echo $p['Porcentaje']['id']; ?>"><?php echo $montoHumano; ?> %</option>
                                    <?php endforeach; ?>
                                </select>
                            </div>
                        </div>

                        <div class="row-form">
                            <div class="span3">Numero de Celular:</div>
                            <div class="span9"><?php echo $this->Form->text('numero', array('placeholder' => 'Celular', 'required')); ?></div>
                        </div>
                        
                        <div class="row-form">
                            <div class="span3">Cliente:</div>
                            <div class="span9"><?php echo $this->Form->text('cliente', array('placeholder' => 'Nombre Cliente', 'required')); ?></div>
                        </div>

                        <div class="row-form" align="right">
                            <?php echo $this->Form->submit('Solicitar Recarga', array('class' => 'btn btn-success"')); ?>
                            <?php echo $this->Form->end(); ?> 
                        </div>

                    </div>
                </div>
            </div>
        </div> 
    </div>

    <?php echo $this->Form->end(); ?> 